@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="announcementInfoForm">
            <input type="hidden" id="id" value="${announcement.id}">
            <input type="hidden" id="contentVal" value='${announcement.noticeContent}'>
            <div class="row">
                <div class="col-sm-12">
                    <div class="form-group">
                        <label class="col-sm-1 control-label">标题</label>
                        <div class="col-sm-11">
                            <input class="form-control" id="noticeTitle"
                                   name="noticeTitle" type="text" value="${announcement.noticeTitle}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">内容</label>
                        <div class="col-sm-11">
                            <div id="toolbar" class="editorToolbar">
                            </div>
                            <div id="editor" class="editorText">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6 b-r">
                        <#input id="createTime" name="创建时间" underline="true" type="text"
                                value="${announcement.createTime}"/>
                    </div>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="AnnouncementInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="AnnouncementInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/backend/announcement/announcement_info.js"></script>
<script type="text/javascript" src="//unpkg.com/wangeditor/release/wangEditor.min.js"></script>
<script>
    laydate.render({
        elem: '#createTime'
    });
</script>
@}
